package com.glink.manage.dto.participatingunit;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 参建单位
* @author  qiushaoshan
* @since 2025-01-08
*/
@ApiModel(value = "ParticipatingUnitUpdateDTO对象", description = "参建单位-更新入参")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ParticipatingUnitUpdateDTO implements Serializable {
    
    private static final long serialVersionUID = -7901337096410541436L;

    @ApiModelProperty(value = "objId", required = true)
    @NotBlank(message = "单位ID不能为空")
    private String objId;
    
    @ApiModelProperty(value = "单位名称")
    @Size(max = 200, message = "单位名称不能超过200个字符")
    @NotBlank(message = "单位名称不能为空")
    private String unitName;
    
    @ApiModelProperty(value = "单位简称")
    @Size(max = 200, message = "单位简称不能超过200个字符")
    private String unitAbbreviation;

    @ApiModelProperty(value = "法人")
    @Size(max = 200, message = "法人不能超过200个字符")
    private String legalPerson;

    @ApiModelProperty(value = "联系人")
    @Size(max = 200, message = "联系人不能超过200个字符")
    private String contacts;

    @ApiModelProperty(value = "联系电话")
    @Size(max = 20, message = "联系电话不能超过20个字符")
    private String contactNumber;

    @ApiModelProperty(value = "经营范围")
    @Size(max = 200, message = "经营范围不能超过500个字符")
    private String businessScope;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;
}
